package v1

import (
	"donkey-admin/internal/model/entity"
	"github.com/gogf/gf/v2/frame/g"
)

type AdminLoginReq struct {
	g.Meta   `path:"/Admin.Login" tags:"login" method:"post" summary:"用户登录"`
	UserName string `json:"username" v:"required"`
	PassWord string `json:"password" v:"required"`
}
type AdminLoginRes struct {
	Token    string           `json:"token"`
	UserInfo entity.SysUser   `json:"userInfo"`
	UserMenu []entity.SysMenu `json:"userMenu"`
}
